Einhugur GraphicsFormats Plugin for Objo

Einhugur.GraphicsFormats.RawIcoExporter.SaveToMemoryBlock Method

Saves a single bitmap to ICO formatted Bytes buffer.

SaveToMemoryBlock(
   image as Einhugur.RawBitmap) as MemoryBlock

Parameters

image
The bitmap to save to the ICO formatted Bytes buffer.

Returns

MemoryBlock

Remarks

Note this method will clear images that have been added with AddBitmap.

This method is basically macro for:
Clear added bitmaps
AddBitmap (one bitmap)
SaveBitmapsToMemoryBlock

This method can throw Exception.

See Also

Einhugur.GraphicsFormats.RawIcoExporter Class